package com.hubiao.pay.merchant.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hubiao
 * @since 2020-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class App implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private Long id;

    @TableField("APP_ID")
    private String appId;

    /**
     * 应用名称
     */
    @TableField("APP_NAME")
    private String appName;

    /**
     * 所属商户
     */
    @TableField("MERCHANT_ID")
    private Long merchantId;

    /**
     * 应用公钥(RSAWithSHA256)
     */
    @TableField("PUBLIC_KEY")
    private String publicKey;

    /**
     * 授权回调地址
     */
    @TableField("NOTIFY_URL")
    private String notifyUrl;


}
